package com.app.mapper;

import com.app.model.EntrepreneurshipModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface EntrepreneurshipMapper extends BaseMapper<EntrepreneurshipModel> {
    List<EntrepreneurshipModel> getEnList(Integer page, Integer limit, String keyword, Integer type, Integer status, Integer township);

    List<EntrepreneurshipModel> selectEnList(Integer page, Integer limit, String keyword, Integer type, Integer township);

    int getEnCount(String keyword, Integer type, Integer status);

    int selectEnCount(String keyword, Integer type);
}
